<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://cdn.bootcss.com/vue/2.2.6/vue.min.js"></script>
</head>
<body>
<div>
	<ul id="example-1">
		<li v-for="item in items">
			{{ item.message }}
		</li>
	</ul>
	<ul id="example-2">
		<li v-for="(item, index) in items">
			{{ parentMessage }} - {{ index }} - {{ item.message }}
		</li>
	</ul>
</div>
<script>
	var example1 = new Vue({
		el: '#example-1',
		data: {
			items: [
				{ message: 'Foo' },
				{ message: 'Bar' }
			]
		}
	});

	var example2 = new Vue({
		el: '#example-2',
		data: {
			parentMessage: 'Parent',
			items: [
				{ message: 'Foo' },
				{ message: 'Bar' }
			]
		}
	})
</script>
</body>
</html>